<template >
    <div >
        <h1 >学生姓名:{{name}}</h1>
        <h1 >学生性别:{{sex}}</h1>
        <input v-fbind:value="name">
    </div>
</template>



<script>


export default {
    name:'StudentName',
    data() {
        return {
            name:'JJ',
            sex: '男'
        }
    },
    mounted() {
    },
   }
</script>
